
from django.conf.urls import url, include
from django.contrib import admin
from . import views
urlpatterns = [
    url(r"^addresses/$",views.AddressesView.as_view()),
    url(r"^areas/$",views.AreasView.as_view()),
    url(r"^addresses/create/$",views.AddreCreate.as_view()),
    url(r"^addresses/(?P<address_id>\d+)/default/$", views.DefaultView.as_view()),
    url(r'^addresses/(?P<address_id>\d+)/$',views.UpdateAddresView.as_view()),
    url(r'^addresses/(?P<address_id>\d+)/title/$',views.UpdateTitleView.as_view()),

]